package com.xhtt.modules.sys.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhtt.common.file.FileInfoModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 角色
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2016年9月18日 上午9:27:38
 */
@TableName("sys_user_cert")
@Data
public class SysUserCertEntity implements Serializable {
    public static final String USERID = "user_id";

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String type;

    private String file;

    private LocalDateTime deadline;

    @TableField(exist = false)
    private FileInfoModel fileInfoModel;//查询返回 和编辑的时候用

}
